Release 10.1A: OpenEdge Development:
AppBuilder
Layout cases internal procedure
This internal procedure contains a
CASEstatement that has an entry for each layout in the procedure file. TheCASEstatement entry contains the run-time assignments for the layout. The Preprocessor reference{&LAYOUT-VARIABLE}resolves to the name of the window in the procedure file prefixed to-layout. Following is a sample layout case’s internal procedure. Note that the variable name{&LAYOUT-VARIABLE}is usually the same as{&WINDOW-NAME}-layout. The layout cases internal procedure is named{&LAYOUT-VARIABLE}variables, which in this sample resolves toC-Win-layouts:
This sample contains
CASEstatement entries for two layouts, the master layout and the standard character layout. TheBtn_Helpbutton appears in the master layout but not in the standard character layout. The master layout also sets size properties to decimal character units because a graphical environment supports fractions of a character. However, in a character environment, they are set to integer character units.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |